//package com.bwie.config;
//
//import org.quartz.*;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class QuartzConfig {
////    @Bean
////    public JobDetail myJobDetail() {
////        return JobBuilder.newJob(MyJob.class)
////                .withIdentity("myJob1")
////                .storeDurably()
////                .build();
////    }
////
////    @Bean
////    public Trigger myJobTrigger() {
////        return TriggerBuilder.newTrigger()
////                .forJob(myJobDetail())
////                .withIdentity("myJobTrigger")
////                .withSchedule(CronScheduleBuilder.cronSchedule("0/5 * * * * ?")) // 每5秒执行一次
////                .build();
////    }
//}
